#ifndef BITMAP_H_
#define BITMAP_H_

#include "LockFile.h"

class Bitmap {

private:

	LockFile file;

	void resizeBitmap(size_t size);

public:

	/*
	 * fileName: name of the file that needs the bitmap
	 *
	 * */
	Bitmap(int myID);

	virtual ~Bitmap();

	void turnOnBit(size_t bit);

	void turnOffBit(size_t bit);

	bool isBitOn(size_t bit);


};

#endif /* BITMAP_H_ */
